package com.readbook.dao;

import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;


@Repository
public interface PoetryreadDao {

    public int savePoteryRead(Map<String, Object> gmap);

    public int editPoteryRead(Map<String, Object> gmap);


    public List<Map<String, Object>> getPoetryread(Map<String, Object> gmap);


    public int countPoetryread(Map<String, Object> gmap);


    public List<Map<String, Object>> getTodayHomeWork(Map<String, Object> gmap);

    public List<Map<String, Object>> getHomeWork(Map<String, Object> gmap);

    public List<Map<String, Object>> search_poetryread(Map<String, Object> gmap);


    public int del_poetryreadscore(Map<String, Object> gmap);


    public List<Map<String, Object>> getAllPoetryRead();


    public int add_poetryreadscore(Map<String, Object> gmap);


    public Map<String, Object> getPoetryReadById(Map<String, Object> gmap);


    public List<Map<String, Object>> getAllHomeworkByreadid(Map<String, Object> gmap);

    public List<Map<String, Object>> getPoetryReadScnrById(Map<String, Object> gmap);

    public List<Map<String, Object>> getPoetryReadYpById(Map<String, Object> gmap);


    public int countAllHomeworkByreadid(Map<String, Object> gmap);


    public List<Map<String, Object>> getHomeworkPmByreadid(Map<String, Object> gmap);


    public int countHomeworkPmByreadid(Map<String, Object> gmap);


    public int savePoteryReadLog(Map<String, Object> gmap);

    public int setPoetryreadlogStar(Map<String, Object> gmap);

    public int savePoetryreadYp(Map<String, Object> gmap);

    public int savePicture(Map<String, Object> gmap);


    public int delPoetryreadYp(Map<String, Object> gmap);


    public int delScPicture(Map<String, Object> gmap);

}

